import { generatorDataGroup } from "@/common/utils";

/** 下拉菜单枚举 */
export enum SettingDropdownEnum {
  /** 偏好设置 */
  Preference = "preference",
  /** 检查更新 */
  CheckUpdate = "check_update",
  /** 加入群聊 */
  AddGroup = "add_group",
}

/** 下拉菜单列表 */
export const SettingDropdownList = generatorDataGroup(
  SettingDropdownEnum.Preference,
  "偏好设置",
  SettingDropdownEnum.CheckUpdate,
  "检查更新",
  SettingDropdownEnum.AddGroup,
  "加入群聊"
);

/** 下拉菜单图标 */
export const SettingDropdownIcon = generatorDataGroup(
  SettingDropdownEnum.Preference,
  "ep:setting",
  SettingDropdownEnum.CheckUpdate,
  "carbon:renew",
  SettingDropdownEnum.AddGroup,
  "fluent-mdl2:chat-invite-friend"
);
